package com.xl.sst.biz.impl;




import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.xl.sst.biz.SiteSearchBiz;
import com.xl.sst.dao.SiteSearchDao;
import com.xl.sst.vo.Desired;
import com.xl.sst.vo.DesiredClass;
import com.xl.sst.vo.Goods;
import com.xl.sst.vo.Users;

/*
 * 站内搜索
 */
@Service
public class SiteSearchBizImpl implements SiteSearchBiz{

	@Resource
	private SiteSearchDao siteSearchDao;
	public SiteSearchDao getSiteSearchDao() {
		return siteSearchDao;
	}
	public void setSiteSearchDao(SiteSearchDao siteSearchDao) {
		this.siteSearchDao = siteSearchDao;
	}
	//搜索公司名模糊匹配
	public List<Users> searchFirm(Users s) {
		return siteSearchDao.searchFirm(s);
	}
	//模糊搜索公司货商城
	public List<Goods> searchCargo(Goods g) {
		return siteSearchDao.searchCargo(g);
	}
	//搜索服务类别或者具体服务
	public List<DesiredClass> searchService(Desired d) {
		return siteSearchDao.searchService(d);
	}


		
		


	
	
	

}
